package net.cyue.homework.student.management.dto;

import jakarta.validation.constraints.NotBlank;


public class UserUpdatePasswordDTO {
    @NotBlank
    private String password;
    @NotBlank
    private String newPassword;
    
    public UserUpdatePasswordDTO() {}

	public UserUpdatePasswordDTO(
		String password,
		String newPassword
	) {
		super();
		this.password = password;
		this.newPassword = newPassword;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getNewPassword() {
		return this.newPassword;
	}

	public void setNewPassword(String newPassword) {
		this.newPassword = newPassword;
	}
    
	
}


